package com.hzh.cusviewdemo.Base;

import android.app.Dialog;
import android.content.Context;

public interface LoadAction {

    default Dialog showLoading(Context context) {
        return LoadingImpl.show(context);
    }

    default Dialog showLoading(Context context, String content) {
        return LoadingImpl.show(context, content);
    }

    default void showComplete() {
        LoadingImpl.dismiss();
    }

}
